package com.oracle.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LogsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LogsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andExecutemethodIsNull() {
            addCriterion("executemethod is null");
            return (Criteria) this;
        }

        public Criteria andExecutemethodIsNotNull() {
            addCriterion("executemethod is not null");
            return (Criteria) this;
        }

        public Criteria andExecutemethodEqualTo(String value) {
            addCriterion("executemethod =", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodNotEqualTo(String value) {
            addCriterion("executemethod <>", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodGreaterThan(String value) {
            addCriterion("executemethod >", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodGreaterThanOrEqualTo(String value) {
            addCriterion("executemethod >=", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodLessThan(String value) {
            addCriterion("executemethod <", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodLessThanOrEqualTo(String value) {
            addCriterion("executemethod <=", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodLike(String value) {
            addCriterion("executemethod like", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodNotLike(String value) {
            addCriterion("executemethod not like", value, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodIn(List<String> values) {
            addCriterion("executemethod in", values, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodNotIn(List<String> values) {
            addCriterion("executemethod not in", values, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodBetween(String value1, String value2) {
            addCriterion("executemethod between", value1, value2, "executemethod");
            return (Criteria) this;
        }

        public Criteria andExecutemethodNotBetween(String value1, String value2) {
            addCriterion("executemethod not between", value1, value2, "executemethod");
            return (Criteria) this;
        }

        public Criteria andAdminIsNull() {
            addCriterion("admin is null");
            return (Criteria) this;
        }

        public Criteria andAdminIsNotNull() {
            addCriterion("admin is not null");
            return (Criteria) this;
        }

        public Criteria andAdminEqualTo(String value) {
            addCriterion("admin =", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotEqualTo(String value) {
            addCriterion("admin <>", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminGreaterThan(String value) {
            addCriterion("admin >", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminGreaterThanOrEqualTo(String value) {
            addCriterion("admin >=", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLessThan(String value) {
            addCriterion("admin <", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLessThanOrEqualTo(String value) {
            addCriterion("admin <=", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLike(String value) {
            addCriterion("admin like", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotLike(String value) {
            addCriterion("admin not like", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminIn(List<String> values) {
            addCriterion("admin in", values, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotIn(List<String> values) {
            addCriterion("admin not in", values, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminBetween(String value1, String value2) {
            addCriterion("admin between", value1, value2, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotBetween(String value1, String value2) {
            addCriterion("admin not between", value1, value2, "admin");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIsNull() {
            addCriterion("executetime is null");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIsNotNull() {
            addCriterion("executetime is not null");
            return (Criteria) this;
        }

        public Criteria andExecutetimeEqualTo(Float value) {
            addCriterion("executetime =", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotEqualTo(Float value) {
            addCriterion("executetime <>", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeGreaterThan(Float value) {
            addCriterion("executetime >", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeGreaterThanOrEqualTo(Float value) {
            addCriterion("executetime >=", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeLessThan(Float value) {
            addCriterion("executetime <", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeLessThanOrEqualTo(Float value) {
            addCriterion("executetime <=", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIn(List<Float> values) {
            addCriterion("executetime in", values, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotIn(List<Float> values) {
            addCriterion("executetime not in", values, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeBetween(Float value1, Float value2) {
            addCriterion("executetime between", value1, value2, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotBetween(Float value1, Float value2) {
            addCriterion("executetime not between", value1, value2, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecuteargsIsNull() {
            addCriterion("executeargs is null");
            return (Criteria) this;
        }

        public Criteria andExecuteargsIsNotNull() {
            addCriterion("executeargs is not null");
            return (Criteria) this;
        }

        public Criteria andExecuteargsEqualTo(String value) {
            addCriterion("executeargs =", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsNotEqualTo(String value) {
            addCriterion("executeargs <>", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsGreaterThan(String value) {
            addCriterion("executeargs >", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsGreaterThanOrEqualTo(String value) {
            addCriterion("executeargs >=", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsLessThan(String value) {
            addCriterion("executeargs <", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsLessThanOrEqualTo(String value) {
            addCriterion("executeargs <=", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsLike(String value) {
            addCriterion("executeargs like", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsNotLike(String value) {
            addCriterion("executeargs not like", value, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsIn(List<String> values) {
            addCriterion("executeargs in", values, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsNotIn(List<String> values) {
            addCriterion("executeargs not in", values, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsBetween(String value1, String value2) {
            addCriterion("executeargs between", value1, value2, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecuteargsNotBetween(String value1, String value2) {
            addCriterion("executeargs not between", value1, value2, "executeargs");
            return (Criteria) this;
        }

        public Criteria andExecutetypeIsNull() {
            addCriterion("executetype is null");
            return (Criteria) this;
        }

        public Criteria andExecutetypeIsNotNull() {
            addCriterion("executetype is not null");
            return (Criteria) this;
        }

        public Criteria andExecutetypeEqualTo(String value) {
            addCriterion("executetype =", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeNotEqualTo(String value) {
            addCriterion("executetype <>", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeGreaterThan(String value) {
            addCriterion("executetype >", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeGreaterThanOrEqualTo(String value) {
            addCriterion("executetype >=", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeLessThan(String value) {
            addCriterion("executetype <", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeLessThanOrEqualTo(String value) {
            addCriterion("executetype <=", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeLike(String value) {
            addCriterion("executetype like", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeNotLike(String value) {
            addCriterion("executetype not like", value, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeIn(List<String> values) {
            addCriterion("executetype in", values, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeNotIn(List<String> values) {
            addCriterion("executetype not in", values, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeBetween(String value1, String value2) {
            addCriterion("executetype between", value1, value2, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecutetypeNotBetween(String value1, String value2) {
            addCriterion("executetype not between", value1, value2, "executetype");
            return (Criteria) this;
        }

        public Criteria andExecuteresultIsNull() {
            addCriterion("executeresult is null");
            return (Criteria) this;
        }

        public Criteria andExecuteresultIsNotNull() {
            addCriterion("executeresult is not null");
            return (Criteria) this;
        }

        public Criteria andExecuteresultEqualTo(String value) {
            addCriterion("executeresult =", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultNotEqualTo(String value) {
            addCriterion("executeresult <>", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultGreaterThan(String value) {
            addCriterion("executeresult >", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultGreaterThanOrEqualTo(String value) {
            addCriterion("executeresult >=", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultLessThan(String value) {
            addCriterion("executeresult <", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultLessThanOrEqualTo(String value) {
            addCriterion("executeresult <=", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultLike(String value) {
            addCriterion("executeresult like", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultNotLike(String value) {
            addCriterion("executeresult not like", value, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultIn(List<String> values) {
            addCriterion("executeresult in", values, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultNotIn(List<String> values) {
            addCriterion("executeresult not in", values, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultBetween(String value1, String value2) {
            addCriterion("executeresult between", value1, value2, "executeresult");
            return (Criteria) this;
        }

        public Criteria andExecuteresultNotBetween(String value1, String value2) {
            addCriterion("executeresult not between", value1, value2, "executeresult");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createdate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createdate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createdate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createdate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createdate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createdate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createdate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createdate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createdate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createdate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createdate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createdate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andModifydateIsNull() {
            addCriterion("modifydate is null");
            return (Criteria) this;
        }

        public Criteria andModifydateIsNotNull() {
            addCriterion("modifydate is not null");
            return (Criteria) this;
        }

        public Criteria andModifydateEqualTo(Date value) {
            addCriterion("modifydate =", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateNotEqualTo(Date value) {
            addCriterion("modifydate <>", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateGreaterThan(Date value) {
            addCriterion("modifydate >", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateGreaterThanOrEqualTo(Date value) {
            addCriterion("modifydate >=", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateLessThan(Date value) {
            addCriterion("modifydate <", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateLessThanOrEqualTo(Date value) {
            addCriterion("modifydate <=", value, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateIn(List<Date> values) {
            addCriterion("modifydate in", values, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateNotIn(List<Date> values) {
            addCriterion("modifydate not in", values, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateBetween(Date value1, Date value2) {
            addCriterion("modifydate between", value1, value2, "modifydate");
            return (Criteria) this;
        }

        public Criteria andModifydateNotBetween(Date value1, Date value2) {
            addCriterion("modifydate not between", value1, value2, "modifydate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}